am335x, dfu: add DFU_MANIFEST_POLL_TIMEOUT to the siemens boards
authorHeiko Schocher <[email protected]>
Tue, 18 Mar 2014 07:09:57 +0000 (08:09 +0100)
committerMarek Vasut <[email protected]>
Sun, 23 Mar 2014 01:20:10 +0000 (02:20 +0100)
as the siemens boards use dfu for updating a nand ubi partition
add DFU_MANIFEST_POLL_TIMEOUT to them, so dfu host waits after
complete transfer of the new image for DFU_MANIFEST_POLL_TIMEOUT
ms before sending again an usb request. So the board have enough
time to erase rest of the nand sectors.

Signed-off-by: Heiko Schocher <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
include/configs/siemens-am33x-common.h

index 98b6e7206d9fdaf59f986bdd5375f4ad71342c07..721c4e6badc815df941c2840606c1ccb8d1b4fc1 100644 (file)
 #define CONFIG_DFU_NAND
 #define CONFIG_CMD_DFU
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE   (1 << 20)
+#define DFU_MANIFEST_POLL_TIMEOUT      25000
 
 #endif /* CONFIG_SPL_BUILD */